package com.project.service.impl;

import com.project.bean.CommentBean;
import com.project.mapper.ICommentMapper;
import com.project.service.ICommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author lyl
 * description:
 */
@Service
@Transactional
public class CommentServiceImpl implements ICommentService {
    @Autowired
    private ICommentMapper iCommentMapper;

    @Override
    public void add(CommentBean commentBean) {
        iCommentMapper.add(commentBean);
    }
}
